//
//  GrabOrderMainModel.h
//  LogisticsSupplier
//
//  Created by 吕晶 on 2021/3/15.
//  Copyright © 2021 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>
@class GrabOrderTaskModel;
@class GrabOrderAddressModel;

NS_ASSUME_NONNULL_BEGIN

@interface GrabOrderMainModel : NSObject

@property (nonatomic, assign) long countdown;//倒计时

@property (nonatomic, strong) NSArray <GrabOrderTaskModel *>*the_list;
@property (nonatomic, strong) NSArray <GrabOrderAddressModel *>*sup_address;

@property (nonatomic, copy) NSString *Id;//配载地址id
@property (nonatomic, copy) NSString *sta_id;//供应商任务单id
@property (nonatomic, copy) NSString *t_id;//3pl的id
@property (nonatomic, copy) NSString *s_id;//供应商id
@property (nonatomic, copy) NSString *create_time;//创建时间
@property (nonatomic, copy) NSString *end_time;//到期时间
@property (nonatomic, copy) NSString *source;//来源 1：提货计划 2：操作单
@property (nonatomic, copy) NSString *pick_type;//操作方式 1直运 2转运 3配载
@property (nonatomic, copy) NSString *s_type;//供应商类型 1提货 2干线 3派送 4交货 5其他
@property (nonatomic, copy) NSString *u_id;//计费条件id
@property (nonatomic, copy) NSString *price;//价格
@property (nonatomic, copy) NSString *dp_ids;//提货计划ids
@property (nonatomic, copy) NSString *settle_sty;//结算方式，默认合同
@property (nonatomic, copy) NSString *wa_ids;//运单ids，英文逗号分隔
@property (nonatomic, copy) NSString *ta_id;//调度--3pl任务单id
@property (nonatomic, copy) NSString *s_province;//出发-省
@property (nonatomic, copy) NSString *s_city;//出发-市
@property (nonatomic, copy) NSString *r_province;//到达-省
@property (nonatomic, copy) NSString *r_city;//到达-市
@property (nonatomic, copy) NSString *car_require;//车辆要求
@property (nonatomic, copy) NSString *trans_type;//货物类型
@property (nonatomic, copy) NSString *pnum;//件数
@property (nonatomic, copy) NSString *num;//数量
@property (nonatomic, copy) NSString *weight;//重量
@property (nonatomic, copy) NSString *volume;//体积
@property (nonatomic, copy) NSString *sup_add_num;//
@property (nonatomic, assign) int is_receie;//是否收货完成 1：未完成 2：已完成

@end

@interface GrabOrderTaskModel : NSObject

@property (nonatomic, copy) NSString *dp_id;//提单id
@property (nonatomic, copy) NSString *start_time;//提货时间
@property (nonatomic, copy) NSString *arrival_time;//要求到达时间
@property (nonatomic, copy) NSString *remarks;//运输注意事项

@end

@interface GrabOrderAddressModel : NSObject

@property (nonatomic, copy) NSString *Id;//仓库id
@property (nonatomic, copy) NSString *province;//省
@property (nonatomic, copy) NSString *city;//市
@property (nonatomic, copy) NSString *town;//区
@property (nonatomic, copy) NSString *info;//详细地址
@property (nonatomic, copy) NSString *create_time;//创建时间
@property (nonatomic, copy) NSString *update_time;//更新时间
@property (nonatomic, copy) NSString *s_id;//供应商ID
@property (nonatomic, copy) NSString *ths_id;//3pl的供应商ID
@property (nonatomic, copy) NSString *t_id;//3pl ID
@property (nonatomic, copy) NSString *tw_id;//3pl 员工ID

@end

NS_ASSUME_NONNULL_END
